package com.kis.core.util.model;

import com.netflix.loadbalancer.Server;

/**
 * Created by wongloong on 16-5-17.
 */
public class ServerInfo extends Server {
    private Object hessian;

    public ServerInfo(String host, int port) {
        super(host, port);
    }

    public ServerInfo(String id) {
        super(id);
    }

    public ServerInfo(String host, int port, Object hessian) {
        super(host, port);
        this.hessian = hessian;
    }

    public ServerInfo(String id, Object hessian) {
        super(id);
        this.hessian = hessian;
    }

    public Object getHessian() {
        return hessian;
    }

    public void setHessian(Object hessian) {
        this.hessian = hessian;
    }
}
